package com.ctshk.rpc.scenic.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 2/2/2021
 */
@Data
@ApiModel(value="ScenicProductListReq对象",description="根据查询条件查询景点门票")
public class ScenicProductListReq extends PageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品名称",required = false)
    private String name;

    @ApiModelProperty(value = "产品编号",required = false)
    private String productCode;

    @ApiModelProperty(value = "所属城市ID",required = false)
    private Long cityId;

    @ApiModelProperty(value = "景点ID",required = false)
    private Long scenicId;

    @ApiModelProperty(value = "是否推荐, 0:否,1:是",required = false)
    private Integer isRecommend;

    @ApiModelProperty(value = "产品来源(1 API ,2 手动录入)",required = true)
    private Integer sourceType;

    @ApiModelProperty(value = "供应商ID",required = false,example="长隆")
    private Long supplierId;

    @ApiModelProperty(value = "上架状态(0 未上架,1 已上架,null 全部)",required = true,example = "1")
    private Integer status;

    @ApiModelProperty(value = "区分列表类型(1或者空 是资源中心,2是预订中心)",required = false)
    private String type;

    @ApiModelProperty(value = "ids",required = false)
    private List<Long> ids;

    @ApiModelProperty(value = "负责人ids")
    private List<Long> chargeUserIds;

    @ApiModelProperty(value = "用户id")
    private Long userId;
}